Telegram Group & Telegram Channel
void checkUpdate ()
{
Serial.print("Checking for firmware update... ");

t_httpUpdate_return ret = ESPhttpUpdate.update(
OTA_SERVER_HOST, OTA_SERVER_PORT, OTA_SERVER_PATH, FIRMWARE_VERSION
);

switch(ret) {
case HTTP_UPDATE_FAILED:
Serial.printf(
"Updated failed. Error (%d): %s\n",
ESPhttpUpdate.getLastError(),
ESPhttpUpdate.getLastErrorString().c_str()
);
break;
case HTTP_UPDATE_NO_UPDATES:
Serial.println("No update found.");
break;
case HTTP_UPDATE_OK:
Serial.println("Updated OK. Rebooting.");
ESP.restart();
break;
}
}

@micropython_iot



tg-me.com/micropython_iot/141
Create:
Last Update:

void checkUpdate ()
{
Serial.print("Checking for firmware update... ");

t_httpUpdate_return ret = ESPhttpUpdate.update(
OTA_SERVER_HOST, OTA_SERVER_PORT, OTA_SERVER_PATH, FIRMWARE_VERSION
);

switch(ret) {
case HTTP_UPDATE_FAILED:
Serial.printf(
"Updated failed. Error (%d): %s\n",
ESPhttpUpdate.getLastError(),
ESPhttpUpdate.getLastErrorString().c_str()
);
break;
case HTTP_UPDATE_NO_UPDATES:
Serial.println("No update found.");
break;
case HTTP_UPDATE_OK:
Serial.println("Updated OK. Rebooting.");
ESP.restart();
break;
}
}

@micropython_iot

BY Micropython & IOT


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/micropython_iot/141

View MORE
Open in Telegram


Micropython & IOT Telegram | DID YOU KNOW?

Date: |

The STAR Market, as is implied by the name, is heavily geared toward smaller innovative tech companies, in particular those engaged in strategically important fields, such as biopharmaceuticals, 5G technology, semiconductors, and new energy. The STAR Market currently has 340 listed securities. The STAR Market is seen as important for China’s high-tech and emerging industries, providing a space for smaller companies to raise capital in China. This is especially significant for technology companies that may be viewed with suspicion on overseas stock exchanges.

Can I mute a Telegram group?

In recent times, Telegram has gained a lot of popularity because of the controversy over WhatsApp’s new privacy policy. In January 2021, Telegram was the most downloaded app worldwide and crossed 500 million monthly active users. And with so many active users on the app, people might get messages in bulk from a group or a channel that can be a little irritating. So to get rid of the same, you can mute groups, chats, and channels on Telegram just like WhatsApp. You can mute notifications for one hour, eight hours, or two days, or you can disable notifications forever.

Micropython & IOT from in


Telegram Micropython & IOT
FROM USA